package com.example.doctor.dto.resp;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

/**
 * @author sifan
 * @PackagName:com.example.doctor.dto.resp
 * @ClassName: TDrugx
 * @Description:
 * @date:2021/1/25 17:20
 */
@Data
public class TDrugx {

    @JSONField(name = "DrugID")
    private  Long DrugID;

    @JSONField(name = "DrugName")
    private  String DrugName;

    @JSONField(name = "Spec")
    private String Spec;

    public String getSuggestUse() {
        return MedWay + "，" + Does + DoesUnit + "，" + Freq;
    }

    @JSONField(name = "SuggestUse")
    private String SuggestUse;

    @JSONField(name = "Unit")
    private String Unit;

    @JSONField(name = "DoesUnit")
    private String DoesUnit;

    @JSONField(name = "Img")
    private String Img;

    @JSONField(name = "Num")
    private String Num;

    @JSONField(name = "MedWay")
    private  String MedWay;

    @JSONField(name = "Freq")
    private String Freq;

    @JSONField(name = "Does")
    private String Does;

    @JSONField(name = "Day")
    private String Day;

    @JSONField(name = "Remark")
    private String Remark;
}
